package com.stormrage.edu.serv.edu;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.stormrage.entity.edu.EduCourse;
import com.stormrage.entity.edu.rep.EduCourseRep;
import com.stormrage.entity.edu.req.EduCourseReq;
import com.stormrage.entity.exam.rep.ExmCountRep;
import com.stormrage.entity.learn.req.ExmTermNessReq;
import com.stormrage.entity.rep.ListRep;
import com.stormragetech.core.exception.StormrageTechException;

public interface EduCourseServ {

	public Integer create(EduCourse arg0) throws StormrageTechException;

	public void update(EduCourse arg0) throws StormrageTechException;

	public void delete(Integer arg0) throws StormrageTechException;

	public Integer queryCount(Integer arg0) throws StormrageTechException;

	public Integer queryCount(EduCourseReq arg0) throws StormrageTechException;

	public EduCourse queryById(Integer arg0) throws StormrageTechException;

	public ListRep queryList(Integer arg0, EduCourseReq arg1) throws StormrageTechException;

	public ListRep queryList(EduCourseReq arg0) throws StormrageTechException;

	public List<EduCourse> queryListById(Integer arg0) throws StormrageTechException;

	public List<EduCourse> queryListByMajorId(Integer arg0) throws StormrageTechException;

	public List<EduCourse> queryRepListByTerm(ExmTermNessReq arg0) throws StormrageTechException;

	public ExmCountRep queryRepListByTermNess(ExmTermNessReq arg0) throws StormrageTechException;

	public List<EduCourseRep> queryListByForExam(Integer arg0) throws StormrageTechException;

	public List<EduCourseRep> queryRepListById(Integer arg0) throws StormrageTechException;

	public String upload(MultipartFile arg0, String arg1) throws StormrageTechException;

}
